package com.zhou.framework.aop.enums;

import com.zhou.util.enums.AbstractIntegerEnum;

public class LogLevelEnum extends AbstractIntegerEnum {

    public static final LogLevelEnum OFF = new LogLevelEnum(LogLevel.OFF);
    public static final LogLevelEnum ERROR = new LogLevelEnum(LogLevel.ERROR);
    public static final LogLevelEnum LOGIN = new LogLevelEnum(LogLevel.LOGIN);
    public static final LogLevelEnum LOGOUT = new LogLevelEnum(LogLevel.LOGOUT);
    public static final LogLevelEnum PASSWORD = new LogLevelEnum(LogLevel.PASSWORD);
    public static final LogLevelEnum FILE = new LogLevelEnum(LogLevel.FILE);
    public static final LogLevelEnum QUERY = new LogLevelEnum(LogLevel.QUERY);
    public static final LogLevelEnum MESSAGE = new LogLevelEnum(LogLevel.MESSAGE);
    public static final LogLevelEnum WORKFLOW = new LogLevelEnum(LogLevel.WORKFLOW);
    public static final LogLevelEnum EDIT = new LogLevelEnum(LogLevel.EDIT);
    public static final LogLevelEnum DELETE = new LogLevelEnum(LogLevel.DELETE);
    public static final LogLevelEnum SYSTEM = new LogLevelEnum(LogLevel.SYSTEM);
    public static final LogLevelEnum GRANT = new LogLevelEnum(LogLevel.GRANT);
    public static final LogLevelEnum EXPORT = new LogLevelEnum(LogLevel.EXPORT);
    public static final LogLevelEnum EXAM = new LogLevelEnum(LogLevel.EXAM);
    public static final LogLevelEnum SERIOUS = new LogLevelEnum(LogLevel.SERIOUS);
    public static final LogLevelEnum ALL = new LogLevelEnum(LogLevel.ALL);


    protected LogLevelEnum(LogLevel level) {
        super(level.value, level.name);
    }
}
